package com.codingfly.service;

import com.codingfly.core.jdbc.service.JPAService;
import com.codingfly.entity.SysDictItem;

import java.util.List;

public interface SysDictItemService extends JPAService<SysDictItem, Long> {
    boolean checkHasDictItem(Long dictId);

    boolean hasChildren(Long id);

    SysDictItem findByCode(String code);

    List<SysDictItem> children(Long id);

}
